﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace hm1_1
{
    class Lenovo : Computer
    {
        public override string getComputerName()
        {
            return "联想";
        }
    }

    interface IComputer
    {
        string getComputerName();
    }
    class Huawei : IComputer
    {
        public  string getComputerName()
        {
            return "华为";
        }
    }



    internal static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]


        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
        }
    }
}
